package com.soboot.system.vo;

import com.soboot.base.model.BaseExtEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.util.Date;
import java.util.List;

/**
 * @Author:
 * @createTime: 2022年09月21日 10:15:55
 * @version:
 * @Description: 用户信息vo
 * @Copyright:
 */
@Data
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
public class UserInfoVO extends BaseExtEntity {

    @ApiModelProperty(value = "部门id")
    private Integer id;

    @ApiModelProperty(value = "用户姓名")
    private String userName;

    @ApiModelProperty(value = "用户昵称")
    private String nickName;

    @ApiModelProperty(value = "用户密码")
    private String password;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "手机号")
    private String phonenumber;

    @ApiModelProperty(value = "性别")
    private Integer gender;

    @ApiModelProperty(value = "部门ID")
    private Integer deptId;

    @ApiModelProperty(value = "头像地址")
    private String avatar;

    @ApiModelProperty(value = "状态")
    private Integer isDelete;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    private List<String> roleKeys;
    private List<String> permissions;
}
